#ifndef HPLCDEBUGINFOPAGE_H
#define HPLCDEBUGINFOPAGE_H

#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QTextEdit>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>

class HplcDebugInfoPage : public QWidget
{
    Q_OBJECT
public:
    explicit HplcDebugInfoPage(QWidget *parent = nullptr);
    ~HplcDebugInfoPage() override;

protected:
    virtual void closeEvent(QCloseEvent *event) override;

public slots:
    void onParseCompleted(int id, const QVariant &var);

private:
    QTextEdit *m_teDebugInfo;

    QPushButton	*m_pbClear;
    QPushButton *m_pbPrintVaiants;

    QLabel *m_lbDebugPort;
    QLineEdit *m_leDebugPort;
    QPushButton *m_pbSetDebugPort;
    QPushButton *m_pbGetDebugPort;
};

#endif // HPLCDEBUGINFOPAGE_H
